@import "color";

body {
  background-color: #F5F5F5;
  font-family: Arial, Sans-Serif;

  .container {
    background-color: white;
    min-height: 925px;
    padding-bottom: 20px;

    .body-box {
      border: 1px solid #ddd;
      height: 100%;
      border-radius: 5px;
      margin-top: 15px;
      font-size: 15px;

      .index-box {
        padding: 20px;
        display: flex;
        justify-content: space-between;

        a {

          color: black;

          &:hover {
            text-decoration: none;
          }
        }

        .index-left {
          width: 50%;
          text-align: justify;

          h3{
            font-weight: bold;
     //       margin-top: 20px;
            margin-bottom: 10px;
            text-align: center;
          }


          .left-box {
            display: flex;
            justify-content: left;

            .img-box {
              width: 150px;
              height: 150px;
              border-radius: 5px;
              border: 1px solid #ddd;
              margin: 10px;
              text-align: center;
              display: flex;
              flex-direction: column;
              align-items: center;
              justify-content: center;


              &:hover {
                border-color: black;
                cursor: pointer;
              }

              i {
                font-size: 40px;
                color: $mainColor;
              }

              .img {
                height: 80px;
                display: flex;
                align-items: center;
                justify-content: center;

                img {
                  width: 80%;
                }
              }


              p {
                font-size: 20px;
                margin-bottom: 0;
              }

              .nums {
                font-size: 13px;
                margin-bottom: 10px;
                color: #555;
              }

            }
          }

        }

        .index-right {
          width: 45%;

          .index-img {
            width: 100%;
          }
        }

      }

      .page-box {
        padding: 20px;

        .sub-title {
          width: 100%;
          margin: 0;

          .col-sm-12 {
            border-bottom: 2px solid $mainColor;
          }

          .page-heading {
            color: #343a40;
            font-weight: bold;

            a {
              color: $mainColor;
            }

          }
        }

        .main-body {
          margin-top: 20px;

          .nav {
            .nav-item {
              .active {
                color: $fontColor;
              }

              a {
                color: $mainColor;

                &:hover {
                  color: $hoverColor;
                }
              }
            }
          }

          .tab-content {
            margin-top: 10px
          }

          .download {
            li {
              padding: 5px;
              font-size: 18px;
            }
          }

          .table {
            white-space: nowrap;

            a {
              color: $mainColor;
            }
          }
        }

      }

      .page-link {
        color: #343A40;
      }

      .page-item.active .page-link {
        color: #fff;
        background-color: $mainColor;
        border-color: #343A40;
      }
    }

  }

  .index-img {
    width: 100%;
    text-align: justify;
    display: flex;
    justify-content: center;

    .img-box {
      width: 250px;
      height: 250px;
      border-radius: 5px;
      border: 1px solid #ddd;
      margin: 10px;
      text-align: center;
      display: flex;
      flex-direction: column;
      align-items: center;


      &:hover {
        border-color: black;
        cursor: pointer;
      }


      .img {
        height: 200px;
        display: flex;
        align-items: center;
        justify-content: center;


        img {
          /*  width: 140px;*/
          height: 200px;
        }
      }

      p {
        font-size: 20px;
        margin-bottom: 0;
      }

      .nums {
        font-size: 13px;
        margin-bottom: 10px;
        color: #555;
      }


    }

  }

  .egCrics {
    color: $mainColor;
  }

  .my-checkbox {
    margin-bottom: 5px;
    display: flex;
    flex-wrap: wrap;

    .my-table-checkbox {
      margin-right: 15px;

      &:hover {
        cursor: pointer;
      }
    }
  }

  .my-form {
    margin: 20px;

    .my-position {
      display: flex;

      .my-position-title {
        font-weight: bold;
        text-align: right;
      }
    }

  }

  .my-check-label {
    cursor: pointer;
    margin-right: 10px;

  }

  .my-btn {
    color: white;
    background-color: $mainColor;

    &:hover {
      color: white;

      background-color: $hoverColor;
    }
  }

  .result {
    display: none;
  }

  footer {
    font-size: 14px;
    margin-bottom: 10px;
    font-weight: 300;
    color: black;
    text-align: center;
    line-height: 45px
  }


  /*文本输入框字体*/
  .monospace {
    font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
  }

  .legend-box {
    display: flex;
    align-items: center;
    margin-bottom: 10px;

    .legend {
      width: 20px;
      margin-right: 10px
    }

    h6 {
      margin-bottom: 0;
    }
  }

}